<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="utf-8">
        <title>
          	 关爱帮
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="./css/x-admin.css" media="all">
   		 <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
		<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
		<!-- 引入jquery -->
		<script src="plugins/jQuery/jquery-2.2.3.min.js"></script>
		<!-- 引入bootstrap 文件 -->
		<link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.min.css">
		<!-- 引入 angular 文件 -->
		<script type="text/javascript" src="plugins/angularjs/angular.min.js"></script>
		<!-- 引入 angularJS 外部 js 文件 -->
		<!-- 公共基础  模块 -->
		<script type="text/javascript" src="js/base.js"></script>
		<!-- 引入 文章 服务层 -->
		<script type="text/javascript" src="js/service/contactService.js"></script>
		<!-- 引入公共 基础controller 控制层 -->
		<script type="text/javascript" src="js/controller/baseController.js"></script>
		<!-- 引入brandController 控制层 -->
		<script type="text/javascript" src="js/controller/contactController.js"></script>
		<!-- 缩略图  -->
		<script type="text/javascript" src="js/thumb2.js"></script>
		<!-- 富文本编辑器 -->
		<link rel="stylesheet" href="layui/css/layui.css">
	</head>

	<body ng-app="guanaibang" ng-controller="contactController" ng-init="edit()">
		<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 联系我们 <span class="c-gray en">&gt;</span> 联系我们信息编辑
			<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
		</nav>
		<div class="page-container">
			<form action="" method="post" class="form form-horizontal" id="form-user-add">
				<!-- 以防id为初始化 或者 id 变更 -->
				<!-- <div ng-hide="true" ng-model="entity.id">{{entity.id = 1}}</div> -->
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
					客服电话：</label>
					<div class="formControls col-xs-6 col-sm-6">
						<input ng-model="entity.customerservice" type="text" class="input-text" value="" placeholder="" id="company_tel" name="company_tel">
						<p class="textarea-numberbar">
							<font color="#46B8DA"><em class="textarea-length">{{entity.customerservice.length+0}}</em>/40</font>
						</p>
					</div>
				</div>
				
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>
				联系邮箱：</label>
					<div class="formControls col-xs-6 col-sm-6">
						<input ng-model="entity.email" type="text" class="input-text" value="" placeholder="" id="user-name" name="product-category-name">
						<p class="textarea-numberbar">
							<font color="#46B8DA"><em class="textarea-length">{{entity.email.length+0}}</em>/20</font>
						</p>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>
				招商渠道：</label>
					<div class="formControls col-xs-6 col-sm-6">
						<input ng-model="entity.channel" type="text" class="input-text" value="" placeholder="" id="user-name">
						<p class="textarea-numberbar">
							<font color="#46B8DA"><em class="textarea-length">{{entity.channel.length+0}}</em>/20</font>
						</p>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>
				公司电话：</label>
					<div class="formControls col-xs-6 col-sm-6">
						<input ng-model="entity.phone" type="text" class="input-text" value="" placeholder="" id="user-name">
						<p class="textarea-numberbar">
							<font color="#46B8DA"><em class="textarea-length">{{entity.phone.length+0}}</em>/20</font>
						</p>
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
				<span class="c-red">*</span>
				公司地址：</label>
					<div class="formControls col-xs-6 col-sm-6">
						<input ng-model="entity.addr" type="text" class="input-text" value="" placeholder="" id="user-name">
						<p class="textarea-numberbar">
							<font color="#46B8DA"><em class="textarea-length">{{entity.addr.length+0}}</em>/40</font>
						</p>
					</div>
				</div>
				
				<div class="row cl">
					<div class="col-9 col-offset-2">
						<input class="btn btn-primary radius" ng-click="uploadAndSave()" type="submit" value="&nbsp;&nbsp;保存&nbsp;&nbsp;">
					</div>
				</div>
			</form>
		</div>
	</body>
</html>